[PATCH v2] i2c-tools: code cleanup: remove unused parts of kernel UAPI
Bartosz Gołaszewski
bartekgola at gmail.com
Tue Sep 8 10:30:50 UTC 2015
2015-09-04 3:40 GMT+02:00 Denys Vlasenko <vda.linux at googlemail.com>:
> Let's keep unused defines.
> They don't hurt, and if we'd need one of them later,
> it's already there :)
Actually I started thinking: most applets that make use of the kernel
UAPI simply include appropriate linux headers. Can you take a look at
the following two patches? The first one removes all duplicate defines
and includes i2c linux headers instead, and the second renames the
four remaining macros to make their purpose more explicit.
--
Best regards,
Bartosz Golaszewski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-i2c-tools-remove-duplicate-definitions.patch
Type: text/x-patch
Size: 4523 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20150908/37d3d7f8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-i2c-tools-rename-remaining-defines.patch
Type: text/x-patch
Size: 5232 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20150908/37d3d7f8/attachment-0001.bin>
More information about the busybox
mailing list