net: macb: Remove CONFIG_PM ifdef because of compilation warning
authorMichal Simek <michal.simek@xilinx.com>
Fri, 23 Jan 2015 08:36:03 +0000 (09:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jan 2015 01:26:03 +0000 (17:26 -0800)
commitd23823dd61516b279f75356a34b5b93397bc33b0
tree9257e5f1c8f07b8a15982eb2eaae74fe6de4380a
parent9e86d7667c507c0d6d20a15ebab0340b07389be4
net: macb: Remove CONFIG_PM ifdef because of compilation warning

Fix compilation warning:
drivers/net/ethernet/cadence/macb.c:2415:12: warning: 'macb_suspend'
defined but not used [-Wunused-function]
 static int macb_suspend(struct device *dev)
drivers/net/ethernet/cadence/macb.c:2432:12: warning: 'macb_resume'
defined but not used [-Wunused-function]
 static int macb_resume(struct device *dev)

when CONFIG_PM=y, CONFIG_PM_SLEEP=n are used.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c