]> git.karo-electronics.de Git - linux-beck.git/commit
tg3: fix warnings
authorEric Dumazet <eric.dumazet@gmail.com>
Sat, 1 Jan 2011 05:22:46 +0000 (05:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jan 2011 21:51:21 +0000 (13:51 -0800)
commitaa6027cacdd912ce884953714fcc7392b6155bc6
treeaf5eb4cbcd0a14d19dd08f829d1db57990441b45
parent7dbf6acdbad2fbc6eea72b58404461dcb7c6d9d2
tg3: fix warnings

In case CONFIG_PM_SLEEP is disabled, we dont need tg3_suspend() and
tg3_resume().

drivers/net/tg3.c:15056: warning: ‘tg3_suspend’ defined but not used
drivers/net/tg3.c:15110: warning: ‘tg3_resume’ defined but not used

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Michael Chan <mchan@broadcom.com>
Cc: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c