aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAntonio Quartulli <[email protected]>2012-04-14 13:15:26 +0200
committerAntonio Quartulli <[email protected]>2012-06-18 18:00:58 +0200
commit66a1b2bcb34b0c74a3422968b15a7ea853ea5a2d (patch)
tree4753388e3a5e44b45481d27485a09c8e79ddcd1b /scripts
parent5d52dad27a08d2c8851acb12b041088ec07881dd (diff)
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 <[email protected]> Signed-off-by: Antonio Quartulli <[email protected]> Signed-off-by: Sven Eckelmann <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions