Re: [RFC PATCH 14/41] staging: dwc2: simplify debug output in dwc_hc_init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 06, 2013 at 08:43:51PM +0400, Sergei Shtylyov wrote:
> >Before, the value of the hcchar register was shifted and masked and then
> >the debug output extracted the individual values out of the complete
> >hcchar register again. This commit makes the debug prints directly use
> >the original values instead.
...

> >+		dev_vdbg(hsotg->dev, "	 Multi Cnt: %d\n", 0);
> 
>    So it's always 0? Why use "%d" then at all? Or why even print it?
Dunno, because it was already like that when I got here? It's probably
an artifact of this code living somewhere else a long time ago or
something, dunno.

I'll remove the line altogether.

Gr.


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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux