remove unnused variable

This commit is contained in:
none 2021-04-07 19:20:24 +02:00
parent 91af1be97e
commit 41a9626be4
1 changed files with 0 additions and 1 deletions

View File

@ -644,7 +644,6 @@ static int mod_set_sdr_attenuator(struct ddb *dev, u32 value)
static int mod_set_sdr_gain(struct ddb *dev, u32 gain)
{
u32 control = ddbreadl(dev, SDR_CONTROL);
struct ddb_link *link = &dev->link[0];
if (control & 0x01000000) {
if (gain > 511)