commit | 216249819ff9fac9ba9f2d06c26194669b42a94a | [log] [tgz] |
---|---|---|
author | Teodora Baluta <teobaluta@gmail.com> | Sat Oct 26 09:18:22 2013 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Oct 28 14:47:07 2013 -0700 |
tree | ce62751d2695da7f91669d4e6944333fe655c5ae | |
parent | 0c457490ded4fd6529791b650f45091f05b4be45 [diff] |
staging: rtl8192e: use memdup_user to simplify code Use memdup_user rather than duplicating its implementation. This patch fixes the following coccinelle warnings: drivers/staging/rtl8192e/rtl8192e/rtl_core.c:2598:8-15: WARNING opportunity for memdup_user drivers/staging/rtl8192e/rtllib_softmac.c:3594:9-16: WARNING opportunity for memdup_user Signed-off-by: Teodora Baluta <teobaluta@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>