Re: [PATCH 1/5] HID: hid-multitouch: fix wrong protocol detection

From
Henrik Rydberg <hidden>
Date
2012-05-09 19:51:19
Also in
lkml
Reply to
Benjamin Tissoires, 2012-05-09
quoted
Why not skip the pointer here?
well, the idea was to keep the memory footprint low. As these values
are only needed at init, then I freed them once I finished using them.
I can of course skip the pointer, but in that case, wouldn't the
struct declaration be worthless?
My bad, I misread the placement of the free() statement. I was also
concerned about memory, since HID is big enough a memory hog as it
is. Barring the added complexity of this patch, it now makes more
sense.

    Acked-by: Henrik Rydberg [off-list ref]

Thanks,
Henrik
Thread (24 messages) 24 messages, 4 authors, last reply 2012-05-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help