Skip to content
Snippets Groups Projects
Commit fbc87f9a authored by chrfranke's avatar chrfranke
Browse files

Disable unused functions isprint_string() and has_usbcypress_pass_through().

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2724 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 1e58fe22
Branches
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
#include "dev_ata_cmd_set.h" // ata_device_with_command_set #include "dev_ata_cmd_set.h" // ata_device_with_command_set
#include "dev_tunnelled.h" // tunnelled_device<> #include "dev_tunnelled.h" // tunnelled_device<>
const char *scsiata_c_cvsid="$Id: scsiata.cpp,v 1.20 2008/12/19 13:49:51 dlukes Exp $" const char *scsiata_c_cvsid="$Id: scsiata.cpp,v 1.21 2009/01/30 18:50:24 chrfranke Exp $"
CONFIG_H_CVSID EXTERN_H_CVSID INT64_H_CVSID SCSICMDS_H_CVSID SCSIATA_H_CVSID UTILITY_H_CVSID; CONFIG_H_CVSID EXTERN_H_CVSID INT64_H_CVSID SCSICMDS_H_CVSID SCSIATA_H_CVSID UTILITY_H_CVSID;
/* for passing global control variables */ /* for passing global control variables */
...@@ -738,6 +738,7 @@ int usbcypress_device::ata_command_interface(smart_command_set command, int sele ...@@ -738,6 +738,7 @@ int usbcypress_device::ata_command_interface(smart_command_set command, int sele
return 0; return 0;
} }
#if 0 // Not used, see autodetect_sat_device() below.
static int isprint_string(const char *s) static int isprint_string(const char *s)
{ {
while (*s) { while (*s) {
...@@ -780,6 +781,7 @@ static int has_usbcypress_pass_through(ata_device * atadev, const char *manufact ...@@ -780,6 +781,7 @@ static int has_usbcypress_pass_through(ata_device * atadev, const char *manufact
return 0; return 0;
return 1; return 1;
} }
#endif
} // namespace } // namespace
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment