We get a lot of patches in staging that move shift functions around without changing the code. For example: http://marc.info/?l=linux-driver-devel&m=134075825327894&q=raw I've written a perl script to help review them. If you take that example diff then it looks like this: $ cat patch.txt | diffstat cb_pcidas.c | 494 ++++++++++++++++++++++++++---------------------------------- 1 file changed, 219 insertions(+), 275 deletions(-) $ cat patch.txt | ./move_rev.pl | diffstat cb_pcidas.c | 63 ------------------------------------------------------------ 1 file changed, 63 deletions(-) $ 63 lines of deleted code is much quicker to review. :) The script is attached. regards, dan carpenter