ice: Fix unused variable build warning
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 19 Dec 2018 18:03:20 +0000 (10:03 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 15 Jan 2019 16:44:05 +0000 (08:44 -0800)
commit3d505147178b9f310008da4fad14743824d235a9
treee9dfaf6e5a56c935656d3922347b02b7ce992fad
parentb71acb0e372160167bf6d5500b88b30b52ccef6e
ice: Fix unused variable build warning

Commit 2fd527b72bb6 ("net: ndo_bridge_setlink: Add extack") added a new
parameter "extack" to ice_bridge_setlink but this parameter isn't used
by the function. This results in a warning: unused parameter ‘extack’
[-Wunused-parameter]. Fix that by adding an "__always_unused" qualifier.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_main.c