diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2017-02-17 14:09:17 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-06 11:16:58 +0300 |
| commit | 8c8022fcd8de5262fbf15177979553c1847bdc55 (patch) | |
| tree | f70090d0a4495e8a7fa2a745637c6af5446559f8 /scripts/basic | |
| parent | 4af8c8195188b5d9ceaea4925a0e7f48a3e3c6c0 (diff) | |
| download | linux-8c8022fcd8de5262fbf15177979553c1847bdc55.tar.xz | |
staging: comedi: jr3_pci: pass transform by reference
Local function `set_transforms` has a parameter of type `struct
jr3_pci_transform`. This has a size 32 bytes, which is quite large for
passing around in a function call. Change it to use type `const struct
jr3_pci_transform *`. (In practice, it is probably inlined by the
compiler anyway, but doing this seems to save a few bytes.)
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
