From: Antonio Quartulli Date: Sat, 14 Apr 2012 11:15:26 +0000 (+0200) Subject: batman-adv: convert bat_priv->tt_crc from atomic_t to uint16_t X-Git-Tag: v3.6-rc1~125^2~521^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66a1b2bcb34b0c74a3422968b15a7ea853ea5a2d;p=pandora-kernel.git batman-adv: convert bat_priv->tt_crc from atomic_t to uint16_t In the code we neever need to atomically check and set the bat_priv->tt_crc field value. It is simply set and read once in different pieces of the code. Therefore this field can be safely be converted from atomic_t to uint16_t. Reported-by: Al Viro Signed-off-by: Antonio Quartulli Signed-off-by: Sven Eckelmann --- Reading git-diff-tree failed