aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mmc/mmcsd.c
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2017-03-06 23:47:59 +0000
committerMarius Strobl <marius@FreeBSD.org>2017-03-06 23:47:59 +0000
commitb440e965da9648c04cceae5371897c50a2673739 (patch)
tree81dbf61cdb5b4da70ac3137e97a2b8e7312dd798 /sys/dev/mmc/mmcsd.c
parent98a9874f7b4e58c23754c321cdc032ac41c03cef (diff)
downloadsrc-b440e965da9648c04cceae5371897c50a2673739.tar.gz
src-b440e965da9648c04cceae5371897c50a2673739.zip
o Another round fixes for mmc(4), mmcsd(4) and sdhci(4) regarding
comments, marking unused parameters as such, style(9), whitespace, etc. o In the mmc(4) bridges and sdhci(4) (bus) front-ends: - Remove redundant assignments of the default bus_generic_print_child device method (I've whipped these out of the tree as part of r227843 once, but they keep coming back ...), - use DEVMETHOD_END, - use NULL instead of 0 for pointers. o Trim/adjust includes.
Notes
Notes: svn path=/head/; revision=314811
Diffstat (limited to 'sys/dev/mmc/mmcsd.c')
-rw-r--r--sys/dev/mmc/mmcsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mmc/mmcsd.c b/sys/dev/mmc/mmcsd.c
index 65005c98bc41..1204044f69a3 100644
--- a/sys/dev/mmc/mmcsd.c
+++ b/sys/dev/mmc/mmcsd.c
@@ -278,14 +278,14 @@ mmcsd_resume(device_t dev)
}
static int
-mmcsd_open(struct disk *dp)
+mmcsd_open(struct disk *dp __unused)
{
return (0);
}
static int
-mmcsd_close(struct disk *dp)
+mmcsd_close(struct disk *dp __unused)
{
return (0);