summaryrefslogtreecommitdiffstats
path: root/src/hpa_dco.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-03-06 19:42:56 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-03-06 19:42:56 +0100
commit8d6beb9d6ec0287b2542928f84b98fbbbafc75c0 (patch)
treee67534bfccbdf07fcb89ff4ddc8d5a7f60437c70 /src/hpa_dco.c
parent22d825524dfd64368c55183b0dcad4b9048601d5 (diff)
code cleanup: remove unused verbose parameter to disk_get_hpa_dco()
Diffstat (limited to 'src/hpa_dco.c')
-rw-r--r--src/hpa_dco.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hpa_dco.c b/src/hpa_dco.c
index ac09f0c..8567300 100644
--- a/src/hpa_dco.c
+++ b/src/hpa_dco.c
@@ -231,7 +231,7 @@ static uint64_t sg_device_configuration_identify(int fd)
#endif
}
-void disk_get_hpa_dco(const int fd, disk_t *disk, const int verbose)
+void disk_get_hpa_dco(const int fd, disk_t *disk)
{
#ifdef HDIO_DRIVE_CMD
unsigned char id_args[4 + 512];
@@ -310,7 +310,7 @@ void disk_get_hpa_dco(const int fd, disk_t *disk, const int verbose)
#endif
}
#else
-void disk_get_hpa_dco(const int fd, disk_t *disk, const int verbose)
+void disk_get_hpa_dco(const int fd, disk_t *disk)
{
}
#endif