diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-05-11 09:22:19 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-05-23 19:21:30 +0200 |
commit | 37d9d42f9e78bfe8ec04fd5e049111beb5f59e01 (patch) | |
tree | 276628c628eb6f0518d392ce7545311123f9c0f8 /lib/assoc_array.c | |
parent | 9c87ae1a0dbeb5794957421157fd266d38a869b4 (diff) | |
download | linux-stable-37d9d42f9e78bfe8ec04fd5e049111beb5f59e01.tar.gz linux-stable-37d9d42f9e78bfe8ec04fd5e049111beb5f59e01.tar.bz2 linux-stable-37d9d42f9e78bfe8ec04fd5e049111beb5f59e01.zip |
media: lmedm04: delete lme2510_get_adapter_count()
The adapter count is fixed at compile time so we can delete the
lme2510_get_adapter_count() function and set ".num_adapters = 1"
instead. There is also no need to create a zeroed adapter
element at the end of the array. Remove that as well.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions