]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: wlan-ng: no need for memcpy() since its arguments are already equal
authorClaudiu Beznea <claudiu.beznea@gmail.com>
Fri, 25 Mar 2016 20:54:48 +0000 (22:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Mar 2016 19:43:14 +0000 (12:43 -0700)
commit909c9167b06655bf65fb2da1296449dc378be91f
tree2d9db4916354dfbe4c7f9ffe75dec47e4925ce73
parent36b4f4e0a8e3c3c0b1a26bc4c4278e1616969d71
Staging: wlan-ng: no need for memcpy() since its arguments are already equal

This patch removes the memcpy() for two variables which were
previously tested with memcmp(). The result of memcmp() was
zero which means that the previously tested variables were
already equal.

Signed-off-by: Claudiu Beznea <claudiu.beznea@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211conv.c