Commit 20152125 authored by Martin Homuth's avatar Martin Homuth Committed by Greg Kroah-Hartman
Browse files

staging: rtl8712: style fix returned error code



This patch fixes a coding style issues in the rtl8712 module as noted
by checkpatch.pl regarding the returned error code.

It fixes the following checkpatch.pl warning:

WARNING: ENOSYS means 'invalid syscall nr' and nothing else

Signed-off-by: default avatarMartin Homuth <martin@martinhomuth.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8400553b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1853,7 +1853,7 @@ static int dummy(struct net_device *dev,
		struct iw_request_info *a,
		union iwreq_data *wrqu, char *b)
{
	return -ENOSYS;
	return -EINVAL;
}

static int r8711_drvext_hdl(struct net_device *dev,