]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
e1000e: resolve -Wunused-parameter compile warnings
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 16 Jan 2013 08:46:49 +0000 (08:46 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 1 Feb 2013 06:28:39 +0000 (22:28 -0800)
commit8bb628697fb05172f10a0960385b8369be15cb6c
tree641f3b8c29c7d6b283c831071a571dc5b1da5a37
parent9e019901816ca4bad83bf4922b791610e6dd529e
e1000e: resolve -Wunused-parameter compile warnings

Remove the unused parameter when possible, otherwise use __always_unused
attribute.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/ethtool.c
drivers/net/ethernet/intel/e1000e/ich8lan.c
drivers/net/ethernet/intel/e1000e/mac.c
drivers/net/ethernet/intel/e1000e/netdev.c
drivers/net/ethernet/intel/e1000e/phy.c
drivers/net/ethernet/intel/e1000e/ptp.c