Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: fddi: skfp: smt: Remove extra parameters to vararg macro

cppcheck reports
[drivers/net/fddi/skfp/smt.c:750]: (warning) printf format string requires 0 parameters but 2 are given.

DB_SBAN is a vararg macro, like DB_ESSN. Remove the extra args and the nl.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Tom Rix and committed by
David S. Miller
2a11fb1d 265f58f6

+1 -1
+1 -1
drivers/net/fddi/skfp/smt.c
··· 747 747 #endif 748 748 749 749 #ifdef SBA 750 - DB_SBAN(2,"SBA: RAF frame received\n",0,0) ; 750 + DB_SBAN(2, "SBA: RAF frame received") ; 751 751 sba_raf_received_pack(smc,sm,fs) ; 752 752 #endif 753 753 break ;