Re: [PATCH] sgi-xpc: remove unnecessary static in xpc_setup_msg_structures_uv()

2017-07-11 Thread Robin Holt
Acked-by: Robin Holt

[PATCH] sgi-xpc: remove unnecessary static in xpc_setup_msg_structures_uv()

2017-07-04 Thread Gustavo A. R. Silva
Remove unnecessary static on local variable _ret_. Such variable is initialized before being used, on every execution path throughout the function. The static has no benefit and, removing it reduces the code size. This issue was detected using Coccinelle and the following semantic patch: @bad exi