After commit a21b986 there is a strange duplicated atomic_inc/atomic_dec in drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c which looks more like a bad merge than actual code.
Even more, git blame seems to point to 2 different versions of the same patch.
a21b986#diff-7aba1a24b36b535c3c8817c7dda105c6