Message ID | 20250112114438.2196-6-git@mayer-bgk.de (mailing list archive) |
---|---|
State | New |
Delegated to: | Jiri Kosina |
Headers | show |
Series | HID: steelseries: add SteelSeries Arctis 9 support | expand |
On Sun, 2025-01-12 at 11:44 +0000, Christian Mayer wrote: > Remove unnecessary return in a void function. > > Signed-off-by: Christian Mayer <git@mayer-bgk.de> Reviewed-by: Bastien Nocera <hadess@hadess.net> Tested-by: Bastien Nocera <hadess@hadess.net> > --- > drivers/hid/hid-steelseries.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/hid/hid-steelseries.c b/drivers/hid/hid- > steelseries.c > index 1a935802880a..d4bd7848b8c6 100644 > --- a/drivers/hid/hid-steelseries.c > +++ b/drivers/hid/hid-steelseries.c > @@ -370,7 +370,6 @@ static void steelseries_srws1_remove(struct > hid_device *hdev) > > hid_hw_stop(hdev); > kfree(drv_data); > - return; > } > #endif >
diff --git a/drivers/hid/hid-steelseries.c b/drivers/hid/hid-steelseries.c index 1a935802880a..d4bd7848b8c6 100644 --- a/drivers/hid/hid-steelseries.c +++ b/drivers/hid/hid-steelseries.c @@ -370,7 +370,6 @@ static void steelseries_srws1_remove(struct hid_device *hdev) hid_hw_stop(hdev); kfree(drv_data); - return; } #endif
Remove unnecessary return in a void function. Signed-off-by: Christian Mayer <git@mayer-bgk.de> --- drivers/hid/hid-steelseries.c | 1 - 1 file changed, 1 deletion(-)