]> git.baikalelectronics.ru Git - kernel.git/commit
regulatory: remove redundant isalpha() check
authorJohannes Berg <johannes.berg@intel.com>
Mon, 3 Dec 2012 17:59:58 +0000 (18:59 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:25 +0000 (13:01 +0100)
commit03b5b9fd4f04c51d4fc7f45d216af7e6ec4cf9c6
tree7d1ba2528b5306a88eb8514f8bf3b659d9ed4f40
parent78bb1f396d1e87609d5d1a8d3614d2c73314c454
regulatory: remove redundant isalpha() check

toupper() only modifies lower-case letters, so
the isalpha() check is redundant; remove it.

Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c