Tag: 779477f29664e2e3f694339356f97a9e0eb30faa

staging: r8712u: use is_broadcast_ether_addr() to simplify the code

Author: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Using is_broadcast_ether_addr() to simplify the code. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun Acked-by: Larry Finger Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8712/ethernet.h | 8 ——– drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 4 +— drivers/staging/rtl8712/rtl871x_ioctl_set.c | 5 +—- 3 files changed, 2 insertions(+), 15 deletions(-)   diff –git a/drivers/staging/rtl8712/ethernet.h …

Continue reading