Commit 54f27dc
HID: sony: Fix unused function warning
Compiling this driver without setting "CONFIG_SONY_FF" generates the
following warning:
drivers/hid/hid-sony.c:2358:20: warning: unused function
'sony_send_output_report' [-Wunused-function]
static inline void sony_send_output_report(struct sony_sc *sc)
^
1 warning generated.
Add the missing preprocessor check to fix it.
Signed-off-by: José Expósito <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>1 parent 3d57f36 commit 54f27dc
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2355 | 2355 | | |
2356 | 2356 | | |
2357 | 2357 | | |
| 2358 | + | |
2358 | 2359 | | |
2359 | 2360 | | |
2360 | 2361 | | |
2361 | 2362 | | |
2362 | 2363 | | |
| 2364 | + | |
2363 | 2365 | | |
2364 | 2366 | | |
2365 | 2367 | | |
| |||
0 commit comments