Commit 11ab5a64 authored by Markus Elfring's avatar Markus Elfring Committed by Bartlomiej Zolnierkiewicz

video: udlfb: Delete an unnecessary return statement in two functions

The script "checkpatch.pl" pointed information out like the following.

WARNING: void function return statements are not generally useful

Thus remove such a statement in the affected functions.
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Cc: Bernie Thompson <bernie@plugable.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent 74fb2519
...@@ -505,8 +505,6 @@ static void dlfb_compress_hline( ...@@ -505,8 +505,6 @@ static void dlfb_compress_hline(
*command_buffer_ptr = cmd; *command_buffer_ptr = cmd;
*pixel_start_ptr = pixel; *pixel_start_ptr = pixel;
*device_address_ptr = dev_addr; *device_address_ptr = dev_addr;
return;
} }
/* /*
...@@ -1777,8 +1775,6 @@ static void dlfb_usb_disconnect(struct usb_interface *interface) ...@@ -1777,8 +1775,6 @@ static void dlfb_usb_disconnect(struct usb_interface *interface)
kref_put(&dev->kref, dlfb_free); kref_put(&dev->kref, dlfb_free);
/* consider dlfb_data freed */ /* consider dlfb_data freed */
return;
} }
static struct usb_driver dlfb_driver = { static struct usb_driver dlfb_driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment