locking/rwsem: Remove unnecessary atomic_long_t casts
authorWaiman Long <longman@redhat.com>
Thu, 19 Jan 2017 14:31:52 +0000 (09:31 -0500)
committerIngo Molnar <mingo@kernel.org>
Fri, 20 Jan 2017 08:46:44 +0000 (09:46 +0100)
commit06321dd2d1ae5b5bdc847958ab9e71d22a29a33e
treed0d84edbcf13c7ca73a759c575cf30c4bc007509
parent85b36c931ff328297572a3e6136fac573795ad79
locking/rwsem: Remove unnecessary atomic_long_t casts

Since sem->count had been changed to a atomic_long_t type, it is no
longer necessary to use the atomic_long_t cast anymore. So remove them.

Signed-off-by: Waiman Long <longman@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-arch@vger.kernel.org
Link: http://lkml.kernel.org/r/1484836312-6656-1-git-send-email-longman@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/asm-generic/rwsem.h