From 80f598ae8a8dbe7d56e9d08d205405dd9f6aecdd Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Sun, 10 Aug 2014 15:47:03 +0100 Subject: [PATCH] staging: vt6655: remove typedef from struct vnt_private Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6655/device.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index 878b6d2..e1a322f 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -337,8 +337,7 @@ typedef struct __device_opt { u32 flags; } OPTIONS, *POPTIONS; -/* TODO Convert all functions to struct vnt_private and remove typedef */ -typedef struct vnt_private { +struct vnt_private { struct vnt_private *next; struct vnt_private *prev; @@ -743,7 +742,7 @@ typedef struct vnt_private { struct iw_statistics wstats; // wireless stats bool bCommit; -} DEVICE_INFO, *PSDevice; +}; static inline bool device_get_ip(struct vnt_private *pInfo) { -- 2.7.4