diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-05-11 10:22:19 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-05-23 20:21:30 +0300 |
commit | 37d9d42f9e78bfe8ec04fd5e049111beb5f59e01 (patch) | |
tree | 276628c628eb6f0518d392ce7545311123f9c0f8 /drivers/cxl | |
parent | 9c87ae1a0dbeb5794957421157fd266d38a869b4 (diff) | |
download | linux-37d9d42f9e78bfe8ec04fd5e049111beb5f59e01.tar.xz |
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 'drivers/cxl')
0 files changed, 0 insertions, 0 deletions