diff options
| author | Sergio Paracuellos <[email protected]> | 2018-08-03 10:26:58 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-08-08 14:08:41 +0200 |
| commit | c0431f4f4aef9a52875d19af3c220e6c8f60d427 (patch) | |
| tree | f4b9ee79c29e9677618bab3ac7ecae6d263fe1b2 /lib/test_overflow.c | |
| parent | 9f999b41502714e7a33f3723f4a3aba85bd0324c (diff) | |
staging: mt7621-pci: simplify read_config function
read_config function is always called with bus and func
being 0. Avoid those params and just use 0 inside the
function. Return readed value instead pass a reference
parameter.
Signed-off-by: Sergio Paracuellos <[email protected]>
Tested-by: NeilBrown <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions