diff options
author | Austin Kim <austindh.kim@gmail.com> | 2019-09-24 11:37:16 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-10-01 05:27:04 +0200 |
commit | f99f6f46f6de186b0465709e36a903c01639ab2d (patch) | |
tree | 23886197d93653acaeb8f1e31bbd7a7cd0ef0d00 /fs/proc_namespace.c | |
parent | scsi: core: Add sysfs attributes for VPD pages 0h and 89h (diff) | |
download | linux-f99f6f46f6de186b0465709e36a903c01639ab2d.tar.xz linux-f99f6f46f6de186b0465709e36a903c01639ab2d.zip |
scsi: libcxgbi: remove unused function to stop warning
Since 'commit fc8d0590d914 ("libcxgbi: Add ipv6 api to driver")' was
introduced, there is no call to csk_print_port() and csk_print_ip() is
made.
Hence kernel build with clang complains below message:
drivers/scsi/cxgbi/libcxgbi.c:2287:19: warning: unused function 'csk_print_port' [-Wunused-function]
static inline int csk_print_port(struct cxgbi_sock *csk, char *buf)
^
drivers/scsi/cxgbi/libcxgbi.c:2298:19: warning: unused function 'csk_print_ip' [-Wunused-function]
static inline int csk_print_ip(struct cxgbi_sock *csk, char *buf)
^
Remove csk_print_port() and csk_print_ip() to stop warning.
Link: https://lore.kernel.org/r/20190924093716.GA78230@LGEARND20B15
Signed-off-by: Austin Kim <austindh.kim@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'fs/proc_namespace.c')
0 files changed, 0 insertions, 0 deletions