commit | 6dea0da1fff9ec1fcfc989e13cde451d5e7604ce | [log] [tgz] |
---|---|---|
author | Hema Prathaban <hemaklnce@gmail.com> | Tue May 14 21:01:22 2013 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed May 15 14:23:41 2013 -0400 |
tree | bd33148297a727e4d8fedb12f7897cdd0d20b9f2 | |
parent | ae053253a7971b6c97ad570e0f373974ca6d7e06 [diff] |
staging: rtl8192e: Use kmemdup for duplicating memory Instead of allocating memory (kmalloc) and copying (memcpy) from source, memory can be duplicated using kmemdup Signed-off-by: Hema Prathaban <hemaklnce@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>