Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch does away with cast on void * and the if as it is unnecessary. The following Coccinelle semantic patch was used for making the change: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T *)x)->f | - (T *) e ) Signed-off-by: Himangi Saraogi <[email protected]> Signed-off-by: Tyler Hicks <[email protected]>
- Loading branch information