]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net1080: Remove unused function nc_dump_ttl()
authorMatthias Kaehlcke <mka@chromium.org>
Thu, 18 May 2017 17:57:19 +0000 (10:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 May 2017 18:46:07 +0000 (14:46 -0400)
commitce064e68a7e1ae525cd525fac3a6901591ddae3c
tree221f2055970860aac520f6a60e49e6edb4323003
parentdb646cc0aefbc5da0b9699ed40d4402e01245f57
net1080: Remove unused function nc_dump_ttl()

The function is not used, removing it fixes the following warning when
building with clang:

drivers/net/usb/net1080.c:271:20: error: unused function
    'nc_dump_ttl' [-Werror,-Wunused-function]

Also remove the definition of TTL_THIS, which is only used in
nc_dump_ttl()

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/net1080.c