diff for duplicates of <20151204131645.GC12792@mwanda> diff --git a/a/1.txt b/N1/1.txt index 5e94701..2e9abc2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,5 +1,5 @@ This code causes a static checker warning because we check for -"if (ret = 0)" but we have already had verified that was true. Clean +"if (ret == 0)" but we have already had verified that was true. Clean it up a little. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> @@ -25,7 +25,7 @@ index 8871145..e49bad2 100644 + pkt = (struct il_rx_pkt *)cmd.reply_page; + ret = il_process_add_sta_resp(il, sta, pkt, true); -- if (ret = 0) { +- if (ret == 0) { - pkt = (struct il_rx_pkt *)cmd.reply_page; - ret = il_process_add_sta_resp(il, sta, pkt, true); - } diff --git a/a/content_digest b/N1/content_digest index df4ca98..4ad7491 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] iwlegacy: cleanup end of il_send_add_sta()\0" - "Date\0Fri, 04 Dec 2015 13:16:45 +0000\0" + "Date\0Fri, 4 Dec 2015 16:16:45 +0300\0" "To\0Stanislaw Gruszka <sgruszka@redhat.com>\0" "Cc\0Kalle Valo <kvalo@codeaurora.org>" linux-wireless@vger.kernel.org @@ -8,7 +8,7 @@ "\00:1\0" "b\0" "This code causes a static checker warning because we check for\n" - "\"if (ret = 0)\" but we have already had verified that was true. Clean\n" + "\"if (ret == 0)\" but we have already had verified that was true. Clean\n" "it up a little.\n" "\n" "Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>\n" @@ -34,7 +34,7 @@ "+\tpkt = (struct il_rx_pkt *)cmd.reply_page;\n" "+\tret = il_process_add_sta_resp(il, sta, pkt, true);\n" " \n" - "-\tif (ret = 0) {\n" + "-\tif (ret == 0) {\n" "-\t\tpkt = (struct il_rx_pkt *)cmd.reply_page;\n" "-\t\tret = il_process_add_sta_resp(il, sta, pkt, true);\n" "-\t}\n" @@ -42,4 +42,4 @@ " \n" " \treturn ret;" -223a7f1fdca9df3ce428575958f6d067b316f2ac5c556fc0cb1cf5494e007b75 +4e413f2ff6fd4aef7dead9a19cd0ac9dc7a7631f3472c7a51c58d380164b3cd2
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.