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)
commit9385d861bddfb451145500ed1375304fa6ccec41
treeab6cbc64ff1c431fc5dc06e580a1f5692f483112
parent02d50c22bdedec15998ca1a83141aae9b79b1022
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