Re: [PATCH] uas: cleanup descriptor of redundant information

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

 



On Fri, 22 Jul 2016, Oliver Neukum wrote:

> It is always possible to go back to the usb_device if you know
> the interface. It is unnecessary to store the device and thus should
> not be done.

That is not a hard-and-fast law -- the kernel isn't based on Codd's
rules for relational databases.  This patch eliminates one pointer from
one data structure, while adding 8 extra nontrivial computations to the
code.  The end result is not obviously an improvement.

Alan Stern

--
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