summaryrefslogtreecommitdiff
path: root/drivers/media/common/siano/smsdvb-debugfs.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 16:40:22 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 17:03:53 +0400
commit05ad412a63d66175f8f5a3d08894cf3f1d118cbc (patch)
treef11eeea793de25cf5be1a02ff54f711f97ed60e3 /drivers/media/common/siano/smsdvb-debugfs.c
parent28a59df4d7cb8f749ba92ad304df4063ccf108fd (diff)
downloadlinux-05ad412a63d66175f8f5a3d08894cf3f1d118cbc.tar.xz
[media] siano: Fix the remaining checkpatch.pl compliants
Fix all other remaining checkpatch.pl compliants on the Siano driver, except for the 80-cols (soft) limit. Those are harder to fix, and probably not worth to do right now. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/siano/smsdvb-debugfs.c')
-rw-r--r--drivers/media/common/siano/smsdvb-debugfs.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/media/common/siano/smsdvb-debugfs.c b/drivers/media/common/siano/smsdvb-debugfs.c
index a881da548251..4c5691ee9eaf 100644
--- a/drivers/media/common/siano/smsdvb-debugfs.c
+++ b/drivers/media/common/siano/smsdvb-debugfs.c
@@ -112,7 +112,7 @@ void smsdvb_print_dvb_stats(struct smsdvb_debugfs *debug_data,
"burst_cycle_time = %d\n", p->burst_cycle_time);
n += snprintf(&buf[n], PAGE_SIZE - n,
"calc_burst_cycle_time = %d\n",
- p->calc_burst_cycle_time);
+ p->calc_burst_cycle_time);
n += snprintf(&buf[n], PAGE_SIZE - n,
"num_of_rows = %d\n", p->num_of_rows);
n += snprintf(&buf[n], PAGE_SIZE - n,
@@ -509,8 +509,6 @@ void smsdvb_debugfs_release(struct smsdvb_client_t *client)
if (!client->debugfs)
return;
-printk("%s\n", __func__);
-
client->prt_dvb_stats = NULL;
client->prt_isdb_stats = NULL;
client->prt_isdb_stats_ex = NULL;
@@ -548,7 +546,6 @@ int smsdvb_debugfs_register(void)
void smsdvb_debugfs_unregister(void)
{
- if (smsdvb_debugfs_usb_root)
- debugfs_remove_recursive(smsdvb_debugfs_usb_root);
+ debugfs_remove_recursive(smsdvb_debugfs_usb_root);
smsdvb_debugfs_usb_root = NULL;
}