OSDN Git Service

iwlegacy: remove redundant assignment to *res
authorColin Ian King <colin.king@canonical.com>
Sat, 30 Mar 2019 20:14:22 +0000 (20:14 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 4 Apr 2019 10:14:47 +0000 (13:14 +0300)
commit6603c5844a44fc58f0a3c9cbb57b35b75d7d86be
tree3f43c9d2bc95e508ea3d224a1a71bd701abaa3dc
parentd825db346270dbceef83b7b750dbc29f1d7dcc0e
iwlegacy: remove redundant assignment to *res

Currently 1 is being assigned to *res and then it is immediately
updated with the computed result.  The first assignment is
redundant and can be removed.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/iwlegacy/4965.c