OSDN Git Service

rtl8723au: Fix smatch warnings in CHECK /home/finger/rtl8723au/hal/odm_HWConfig.c
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 11 Sep 2013 23:58:46 +0000 (18:58 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 11 Sep 2013 23:58:46 +0000 (18:58 -0500)
commitf43a0acbd827817574cea878ea2d26e78e39f341
tree8ecbf4edf2a7e2e88342a9be6938cfd0f2e91ff8
parent1fc63599564690b323e83d64b6ffa98f07780fb1
rtl8723au: Fix smatch warnings in   CHECK   /home/finger/rtl8723au/hal/odm_HWConfig.c

Smatch lists the following:
/home/finger/rtl8723au/hal/odm_HWConfig.c:400 odm_RxPhyStatus92CSeries_Parsing() warn: always true condition '(pPktinfo->Rate >= 0) => (0-255 >= 0)'
/home/finger/rtl8723au/hal/odm_HWConfig.c:783 odm_Process_RSSIForDM() warn: always true condition '(pPktinfo->Rate >= 0) => (0-255 >= 0)'

Variable Rate is unsigned and always >= 0.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
hal/odm_HWConfig.c