]> asedeno.scripts.mit.edu Git - linux.git/commit
ice: Mark extack argument as __always_unused
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 8 Feb 2019 20:50:28 +0000 (12:50 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 25 Feb 2019 16:56:01 +0000 (08:56 -0800)
commit99be37edeb2fc3c9295abefc498cc3cc37eb8357
tree70ca0fdcb67184b6175116d7f195fa9869869548
parentbd16693f359bbab8776541c06a6df32f3996638e
ice: Mark extack argument as __always_unused

Commit 87b0984ebfab ("net: Add extack argument to ndo_fdb_add()") in
net-next added an extended parameter to the .ndo_fdb_add op and changed
ice_fdb_add() accordingly. Update the function header and add the
__always_unused attribute to the new parameter to avoid -Wunused-parameter
warnings.

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