linux_dsm_epyc7002/drivers/net/fddi/skfp
Nathan Chancellor 6b8e327cfa net: fddi: skfp: Remove unused function
Clang warns when a variable is assigned to itself.

drivers/net/fddi/skfp/pcmplc.c:1257:6: warning: explicitly assigning
value of variable of type 'int' to itself [-Wself-assign]
        phy = phy ; on_off = on_off ;
        ~~~ ^ ~~~
drivers/net/fddi/skfp/pcmplc.c:1257:21: warning: explicitly assigning
value of variable of type 'int' to itself [-Wself-assign]
        phy = phy ; on_off = on_off ;
                    ~~~~~~ ^ ~~~~~~
2 warnings generated.

Turns out this entire function doesn't actually do anything since
SK_UNUSED is just casting the pointer to void. Remove it to silence
this Clang warning.

Link: https://github.com/ClangBuiltLinux/linux/issues/128
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-09-21 19:05:06 -07:00
..
h net: fddi: skfp: Remove unused function 2018-09-21 19:05:06 -07:00
cfm.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
drvfbi.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
ecm.c net: fddi: skfp: Remove unused function 2018-09-21 19:05:06 -07:00
ess.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
fplustm.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
hwmtm.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
hwt.c
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pcmplc.c net: fddi: skfp: Remove unused function 2018-09-21 19:05:06 -07:00
pmf.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
queue.c
rmt.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
skfddi.c net: fddi: fix a possible null-ptr-deref 2018-06-08 18:47:46 -04:00
smt.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00
smtdef.c
smtinit.c
smttimer.c
srf.c fddi: skfp: Use more common logging styles 2016-12-29 11:37:14 -05:00