From: Luis R. Rodriguez Date: Wed, 13 May 2009 21:04:39 +0000 (-0400) Subject: cfg80211: return immediately if num reg rules > NL80211_MAX_SUPP_REG_RULES X-Git-Tag: v2.6.31-rc1~330^2~313^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4776c6e7f66f853011bc1fd6fe37fa63f0b6982c;p=pandora-kernel.git cfg80211: return immediately if num reg rules > NL80211_MAX_SUPP_REG_RULES This has no functional change except we save a kfree(rd) and allows us to clean this code up a bit after this. We do avoid an unnecessary kfree(NULL) but calling that was OK too. Cc: stable@kernel.org Signed-off-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- Reading git-diff-tree failed