aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorChunyan Zhang <[email protected]>2020-11-12 15:04:10 +0800
committerBjorn Andersson <[email protected]>2020-11-17 21:42:13 -0600
commit8266b809264caa23038ceab2811fc452cf936e84 (patch)
treeee759b0abf380db3f8a91aee8c4461d32351468e /net/switchdev/switchdev.c
parent8308678ebde1cbca9fb628ba2e7b6e4ea0b15acf (diff)
hwspinlock: sprd: fixed warning of unused variable 'sprd_hwspinlock_of_match'
The macro function of_match_ptr() is NULL if CONFIG_OF is not set, in this case Clang compiler would complain the of_device_id variable is unused. Reviewed-by: Baolin Wang <[email protected]> Reported-by: kernel test robot <[email protected]> Fixes: d8c8bbbb1aba ("hwspinlock: sprd: Add hardware spinlock driver") Signed-off-by: Chunyan Zhang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions