Tag: a4fe1bc16411c4d3f8cbc0dbecb7b5dff80cd143

staging: rdma: hfi1: Remove casts of pointer to same type

Author: Bhaktipriya Shridhar <bhaktipriya96@gmail.com> Casting a pointer to a pointer of the same type is unnecessary, so remove these unnecessary casts. This was done with Coccinelle: @@ type T; T *ptr; @@ – (T *)ptr + ptr Signed-off-by: Bhaktipriya Shridhar Signed-off-by: Greg Kroah-Hartman — drivers/staging/rdma/hfi1/mad.c | 10 +++++—– 1 file changed, 5 insertions(+), 5 deletions(-) …

Continue reading