]> git.baikalelectronics.ru Git - kernel.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)
commit4a5673aa08231de02caffb397c2cd998fec3c11e
tree221f2055970860aac520f6a60e49e6edb4323003
parent6155526a92356c08de4309adf242e41923041c38
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