diff options
| author | Colin Ian King <[email protected]> | 2024-03-07 11:13:51 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-03-07 20:58:18 +0000 |
| commit | 12f371e2b6cb4b79c788f1f073992e115f4ca918 (patch) | |
| tree | d2897963f2ea8fcb31460ee7e6cdd5befb0091d9 /drivers/fpga/versal-fpga.c | |
| parent | usb: Clarify expected behavior of dev_bin_attrs_are_visible() (diff) | |
| download | kernel-12f371e2b6cb4b79c788f1f073992e115f4ca918.tar.gz kernel-12f371e2b6cb4b79c788f1f073992e115f4ca918.zip | |
usb: sl811-hcd: only defined function checkdone if QUIRK2 is defined
Function checkdone is only required if QUIRK2 is defined, so add
appropriate #if / #endif around the function.
Cleans up clang scan build warning:
drivers/usb/host/sl811-hcd.c:588:18: warning: unused function
'checkdone' [-Wunused-function]
Signed-off-by: Colin Ian King <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/versal-fpga.c')
0 files changed, 0 insertions, 0 deletions
