vmw_balloon: simplifying batch access
authorNadav Amit <namit@vmware.com>
Thu, 20 Sep 2018 17:30:10 +0000 (10:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Sep 2018 18:11:42 +0000 (20:11 +0200)
commit6c94875799eaf99bfdbb0efce21d75e1c56e96d5
treed0b4a73641c092ebcd50fb1ae01ac9c0592bbfa8
parent4c9a7d6a771d6e9038049a49e26b350a6ee4ffd2
vmw_balloon: simplifying batch access

The use of accessors for batch entries complicates the code and makes it
less readable. Remove it an instead use bit-fields.

Reviewed-by: Xavier Deguillard <xdeguillard@vmware.com>
Signed-off-by: Nadav Amit <namit@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/vmw_balloon.c