From: Colin King <colin.king@xxxxxxxxxxxxx> Date: Fri, 14 Sep 2018 18:19:16 +0100 > From: Colin Ian King <colin.king@xxxxxxxxxxxxx> > > It is impossible for frontpkt to be null at the point of the null > check because it has been assigned from rearpkt and there is no > way realpkt can be null at the point of the assignment because > of the sanity checking and exit paths taken previously. Remove > the redundant null check. > > Detected by CoverityScan, CID#114434 ("Logically dead code") > > Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx> Appied to net-next with typo fixed. Thanks.