lkml.org 
[lkml]   [2021]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Usb: Storage: usb: Fixed coding style issue
Date
Fixed coding style issue. Removed not needed braces.

Signed-off-by: Niklas Lantau <niklaslantau@gmail.com>
---
drivers/usb/storage/usb.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c
index 90aa9c12ffac..5f562bac14d0 100644
--- a/drivers/usb/storage/usb.c
+++ b/drivers/usb/storage/usb.c
@@ -926,9 +926,8 @@ static unsigned int usb_stor_sg_tablesize(struct usb_interface *intf)
{
struct usb_device *usb_dev = interface_to_usbdev(intf);

- if (usb_dev->bus->sg_tablesize) {
+ if (usb_dev->bus->sg_tablesize)
return usb_dev->bus->sg_tablesize;
- }
return SG_ALL;
}

--
2.33.0
\
 
 \ /
  Last update: 2021-08-21 14:18    [W:0.024 / U:1.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site