Skip to content

Remove useless cast on void pointer

Amitoj Kaur Chawla outreachy 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: lustre: llite: Remove useless cast on void pointerdrivers/staging/lustre/lustre/llite/llite_nfs.c+1 -20 replies
2/2staging: lustre: llite: Remove useless cast on void pointerdrivers/staging/lustre/lustre/llite/xattr.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Remove useless cast on void pointer

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(-)
Signature · 1 line
1.9.1