Re: [PATCH] hwspinlock: sirf: Remove the redundant 'of_match_ptr'

2020-07-09 Thread Barry Song
Baolin Wang 于2020年6月9日周二 上午12:22写道: > > Remove the the redundant 'of_match_ptr' macro to fix below warning > when the CONFIG_OF is not selected. > > All warnings: > drivers/hwspinlock/sirf_hwspinlock.c:87:34: warning: unused variable > 'sirf_hwpinlock_ids' [-Wunused-const-variable] > > Reported-by

[PATCH] hwspinlock: sirf: Remove the redundant 'of_match_ptr'

2020-06-08 Thread Baolin Wang
Remove the the redundant 'of_match_ptr' macro to fix below warning when the CONFIG_OF is not selected. All warnings: drivers/hwspinlock/sirf_hwspinlock.c:87:34: warning: unused variable 'sirf_hwpinlock_ids' [-Wunused-const-variable] Reported-by: kernel test robot Signed-off-by: Baolin Wang ---