|
@@ -269,7 +269,6 @@ int buffer_icap_set_configuration(struct hwicap_drvdata *drvdata, u32 *data,
|
|
|
{
|
|
|
int status;
|
|
|
s32 buffer_count = 0;
|
|
|
- s32 num_writes = 0;
|
|
|
bool dirty = false;
|
|
|
u32 i;
|
|
|
void __iomem *base_address = drvdata->base_address;
|
|
@@ -298,7 +297,6 @@ int buffer_icap_set_configuration(struct hwicap_drvdata *drvdata, u32 *data,
|
|
|
}
|
|
|
|
|
|
buffer_count = 0;
|
|
|
- num_writes++;
|
|
|
dirty = false;
|
|
|
}
|
|
|
|
|
@@ -328,7 +326,6 @@ int buffer_icap_get_configuration(struct hwicap_drvdata *drvdata, u32 *data,
|
|
|
{
|
|
|
int status;
|
|
|
s32 buffer_count = 0;
|
|
|
- s32 read_count = 0;
|
|
|
u32 i;
|
|
|
void __iomem *base_address = drvdata->base_address;
|
|
|
|
|
@@ -353,7 +350,6 @@ int buffer_icap_get_configuration(struct hwicap_drvdata *drvdata, u32 *data,
|
|
|
}
|
|
|
|
|
|
buffer_count = 0;
|
|
|
- read_count++;
|
|
|
}
|
|
|
|
|
|
/* Copy data from bram */
|