]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723au: Get rid of rtl8723au_set_hal_ops() and get rid of hal_ops.h
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 16 May 2014 08:04:24 +0000 (10:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 18:34:27 +0000 (11:34 -0700)
commite88035049324cdb92ab411b394eb72774a8e030a
treeab6cbc64ff1c431fc5dc06e580a1f5692f483112
parent1761d2ccfd2a8d631cb059975a246aa00a0066ba
staging: rtl8723au: Get rid of rtl8723au_set_hal_ops() and get rid of hal_ops.h

Since rtl8723au_set_hal_ops() is just a kmalloc(), move it to
rtw_usb_if1_init() and fix the error handling to not leak memory.

This also allows us to get rid of hal_ops.h

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/hal_intf.c
drivers/staging/rtl8723au/hal/usb_halinit.c
drivers/staging/rtl8723au/include/usb_hal.h [deleted file]
drivers/staging/rtl8723au/os_dep/usb_intf.c