log: remove unnecessary stubs
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 9 Dec 2014 16:35:46 +0000 (08:35 -0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 15 Jan 2015 12:41:39 +0000 (13:41 +0100)
commit985cba0c5c137a29e3fad8c400794ae71cb828a4
tree6850e9f2781ca5e834d444571c2480ec4a217638
parent8cf8fe6c3e55055d89bd9b7e4d288d8148f54dc6
log: remove unnecessary stubs

The read/seek/close stub functions are unnecessary on the
log stream.  Per glibc fopencookie man page:

       cookie_read_function_t *read
              If *read is a null pointer, then reads from  the  custom  stream
              always return end of file.

       cookie_seek_function_t *seek
              If *seek is a null pointer, then it is not possible  to  perform
              seek operations on the stream.

       cookie_close_function_t *close
              If  *close is NULL, then no special action is performed when the
              stream is closed.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/linuxapp/eal/eal_log.c