Re: [PATCH v4 2/2] Bluetooth: hidp: Add support for hidraw HIDIOCGFEATURE and HIDIOCSFEATURE

From: Alan Ott
Date: Thu Sep 23 2010 - 10:16:55 EST



On Sep 23, 2010, at 7:51 AM, Ville Tervo wrote:

Hi Alan,

One comment.

How about a variable called ret and using that to return len or errno? It
would eliminate code dublication.


Hi Ville,

Where specifically? In which function? I've gone through it a couple of times and failed to find return statements which are superfluous. Maybe I'm missing something fundamental?

Alan.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/