diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2019-07-09 02:12:34 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-08-04 14:36:49 +0300 |
commit | d5c2f39500549a7e2cd397f3ec713bd8d85af3e1 (patch) | |
tree | ab7211c401ca9e82e71eb917d0f0c4abd5edb964 /init | |
parent | 27429be75e0d291a74b57f9753537e727b7635b7 (diff) | |
download | linux-d5c2f39500549a7e2cd397f3ec713bd8d85af3e1.tar.xz |
fm10k: mark unused parameters with __always_unused
Several functions in the fm10k driver have specific function templates,
as they are used as function pointers. The parameters in these functions
are not always used. Explicitly mark unused parameters with the
__always_unused macro, so that the compiler will not warn about them
when building with the -Wunused-parameter warning enabled.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions