All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Remove useless cast on void pointer
@ 2015-10-13 13:17 Amitoj Kaur Chawla
  2015-10-13 13:20 ` [PATCH 1/2] staging: lustre: llite: " Amitoj Kaur Chawla
  2015-10-13 13:21 ` [PATCH 2/2] " Amitoj Kaur Chawla
  0 siblings, 2 replies; 3+ messages in thread
From: Amitoj Kaur Chawla @ 2015-10-13 13:17 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 (2):
  staging: lustre: llite: Remove useless cast on void pointer
  staging: lustre: llite: Remove useless cast on void pointer

 drivers/staging/lustre/lustre/llite/llite_nfs.c | 3 +--
 drivers/staging/lustre/lustre/llite/xattr.c     | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

-- 
1.9.1



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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-13 13:17 [PATCH 0/2] Remove useless cast on void pointer Amitoj Kaur Chawla
2015-10-13 13:20 ` [PATCH 1/2] staging: lustre: llite: " Amitoj Kaur Chawla
2015-10-13 13:21 ` [PATCH 2/2] " 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.