aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorBrian Niebuhr <[email protected]>2010-09-29 12:31:54 +0530
committerSekhar Nori <[email protected]>2010-11-18 18:38:33 +0530
commitd3f7141cbf4580b2f18f93940df29cf0c15e7ef5 (patch)
treeb8e168c11588653d0582db1faaa323a35bae4644 /net/lapb/lapb_iface.c
parentc29e3c60e75d1cc1262ac8af379738b6fd851f33 (diff)
spi: davinci: do not use temporary buffer if no transmit data provided
Remove usage of temporary buffer when no transmit data is provided. Instead, use the transmit register itself as the source of data. By choosing the transmit register itself as the source of data, this patch helps remove unnecessary accesses to memory when no real data is being transmitted. Signed-off-by: Brian Niebuhr <[email protected]> Tested-By: Michael Williamson <[email protected]> Signed-off-by: Sekhar Nori <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions