* [PATCH 3/3] Staging: rtl8192u: remove ieee80211_ccmp_null()
@ 2015-10-03 21:09 mike dupuis
2015-10-04 8:49 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: mike dupuis @ 2015-10-03 21:09 UTC (permalink / raw)
To: gregkh; +Cc: devel, linux-kernel
This is a patch to remove the function ieee80211_ccmp_null().
This function does nothing and can therefore be safely removed.
Signed-off-by: Mike Dupuis <mike.dupuis.0@gmail.com>
---
drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
index 61edd57..af22ee5 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
@@ -175,9 +175,6 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
ieee->last_packet_time[i] = 0;
}
-/* These function were added to load crypte module autoly */
- ieee80211_ccmp_null();
-
return dev;
failed:
--
2.1.4
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 3/3] Staging: rtl8192u: remove ieee80211_ccmp_null()
2015-10-03 21:09 [PATCH 3/3] Staging: rtl8192u: remove ieee80211_ccmp_null() mike dupuis
@ 2015-10-04 8:49 ` Greg KH
[not found] ` <CABTjXUT5E3oK1e8OxqTDc+1wmoHxMFV4SM8RmJE_FhtEmg48cw@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2015-10-04 8:49 UTC (permalink / raw)
To: mike dupuis; +Cc: devel, linux-kernel
On Sat, Oct 03, 2015 at 01:09:56PM -0800, mike dupuis wrote:
> This is a patch to remove the function ieee80211_ccmp_null().
> This function does nothing and can therefore be safely removed.
>
> Signed-off-by: Mike Dupuis <mike.dupuis.0@gmail.com>
> ---
> drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
> index 61edd57..af22ee5 100644
> --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
> +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
> @@ -175,9 +175,6 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
> ieee->last_packet_time[i] = 0;
> }
>
> -/* These function were added to load crypte module autoly */
> - ieee80211_ccmp_null();
> -
You didn't remove the function, only the call to it.
And I think you just broke the "autoload" logic that these "call a null
function" function calls were trying to solve, which isn't good at all.
Have you verified that everything correctly auto-loads when the device
is plugged into the system?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-04 19:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-03 21:09 [PATCH 3/3] Staging: rtl8192u: remove ieee80211_ccmp_null() mike dupuis
2015-10-04 8:49 ` Greg KH
[not found] ` <CABTjXUT5E3oK1e8OxqTDc+1wmoHxMFV4SM8RmJE_FhtEmg48cw@mail.gmail.com>
2015-10-04 19:43 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®