Re: [PATCH] drivers: net: xgene: optimizing the code

2015-11-24 Thread David Miller
From: Saurabh Sengar Date: Mon, 23 Nov 2015 19:02:15 +0530 > this patch does the following: > 1 . remove unnecessary if, else condition > 2 . reduce one variable > 3 . change the return type of 2 functions to void as there return values > turn out to be 0 always after

[PATCH] drivers: net: xgene: optimizing the code

2015-11-23 Thread Saurabh Sengar
this patch does the following: 1 . remove unnecessary if, else condition 2 . reduce one variable 3 . change the return type of 2 functions to void as there return values turn out to be 0 always after above changes Signed-off-by: Saurabh Sengar ---