From: Ivo van Doorn Date: Sun, 15 Feb 2009 16:42:48 +0000 (+0100) Subject: rt2x00: Remove check for rf word 0 X-Git-Tag: v2.6.30-rc1~662^2~460^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53bc647a1a96189be53b68b9e8c40df0f42fc300;p=pandora-kernel.git rt2x00: Remove check for rf word 0 The only way rf_write() can be called with word 0 is when the user sends the wrong word index through debugfs. However the values which are send through debugfs are validated using the RF_BASE and RF_SIZE macro values, the most logical solution is to increase RF_BASE with 4 and decrease RF_SIZE with 4 (RF_SIZE has always been 1 word too big) Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed