From: navin patidar Date: Sun, 22 Jun 2014 08:19:30 +0000 (+0530) Subject: staging: rtl8188eu: Remove unused function rtw_list_insert_head() X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=03a6f3e6a62d7ee4db3980d15304df4ee2c11981;p=deliverable%2Flinux.git staging: rtl8188eu: Remove unused function rtw_list_insert_head() Signed-off-by: navin patidar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/include/osdep_service.h b/drivers/staging/rtl8188eu/include/osdep_service.h index e5bfdd71f015..05cc35289201 100644 --- a/drivers/staging/rtl8188eu/include/osdep_service.h +++ b/drivers/staging/rtl8188eu/include/osdep_service.h @@ -201,7 +201,6 @@ void _rtw_memcpy(void *dec, void *sour, u32 sz); void _rtw_init_listhead(struct list_head *list); u32 rtw_is_list_empty(struct list_head *phead); -void rtw_list_insert_head(struct list_head *plist, struct list_head *phead); void rtw_list_insert_tail(struct list_head *plist, struct list_head *phead); void rtw_list_delete(struct list_head *plist); diff --git a/drivers/staging/rtl8188eu/os_dep/osdep_service.c b/drivers/staging/rtl8188eu/os_dep/osdep_service.c index 92203c3359f6..8067f9c642f0 100644 --- a/drivers/staging/rtl8188eu/os_dep/osdep_service.c +++ b/drivers/staging/rtl8188eu/os_dep/osdep_service.c @@ -107,11 +107,6 @@ u32 rtw_is_list_empty(struct list_head *phead) return false; } -void rtw_list_insert_head(struct list_head *plist, struct list_head *phead) -{ - list_add(plist, phead); -} - void rtw_list_insert_tail(struct list_head *plist, struct list_head *phead) { list_add_tail(plist, phead);