All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Remove useless cast on void pointer
@ 2015-10-13  8:33 Amitoj Kaur Chawla
  2015-10-13  8:35 ` [PATCH v2 1/3] staging: rtl8712: " Amitoj Kaur Chawla
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Amitoj Kaur Chawla @ 2015-10-13  8:33 UTC (permalink / raw)
  To: outreachy-kernel

This patchset removes multiple useless cast on void pointer.

The semantic patch used to find this is:

@r@
expression x;
void* e;
type T;
identifier f;
@@

(
  *((T *)e)
|
  ((T *)x)[...]
|
  ((T *)x)->f
|
- (T *)
  e
)

Amitoj Kaur Chawla (3):
  staging: rtl8712: Remove useless cast on void pointer
  staging: rtl8712: Remove useless cast on void pointer
  staging: rtl8712: Remove useless cast on void pointer

Changes in v2:
        -Remove unnecessary parentheses
 drivers/staging/rtl8712/rtl8712_cmd.c      |   2 +-
 drivers/staging/rtl8712/rtl8712_recv.c     |   9 ++-
 drivers/staging/rtl8712/rtl871x_mp_ioctl.c | 105 ++++++++++-------------------
 3 files changed, 40 insertions(+), 76 deletions(-)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-10-13  8:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-13  8:33 [PATCH v2 0/3] Remove useless cast on void pointer Amitoj Kaur Chawla
2015-10-13  8:35 ` [PATCH v2 1/3] staging: rtl8712: " Amitoj Kaur Chawla
2015-10-13  8:36 ` [PATCH v2 2/3] " Amitoj Kaur Chawla
2015-10-13  8:38 ` [PATCH v2 3/3] " Amitoj Kaur Chawla
2015-10-13  8:38   ` [Outreachy kernel] " Julia Lawall
2015-10-13  8:49     ` Amitoj Kaur Chawla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.