commit | 38272d20b9e20f6c0e9a5f138dd1cb8ecdf45962 | [log] [tgz] |
---|---|---|
author | Teodora Baluta <teobaluta@gmail.com> | Fri Oct 25 11:27:09 2013 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Oct 28 14:28:35 2013 -0700 |
tree | 963f66f3642cc568f0f4f0e37e8988efea7e9a8b | |
parent | 5b66fb7d57462f5c0683f7d64625652ffb9f5f87 [diff] |
staging: rtl8192u: use memdup_user to simplify code Use memdup_user rather than duplicating its implementation. Fix the following coccinelle warnings: drivers/staging/rtl8192u/r8192U_core.c:3792:7-14: WARNING opportunity for memdup_user drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:3153:9-16: WARNING opportunity for memdup_user Signed-off-by: Teodora Baluta <teobaluta@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>