summaryrefslogtreecommitdiff
path: root/source/components/tables/tbutils.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-12-18 18:35:46 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-12-18 18:35:46 +0000
commit1c6f3e7bf6ed0a9ff1bd466e319cdf456e6e91dc (patch)
tree9ffecbf2e9ce4e63aac5515363a488b761a02b03 /source/components/tables/tbutils.c
parentb9098066cd6284319bca922f13e59517f774a103 (diff)
Diffstat (limited to 'source/components/tables/tbutils.c')
-rw-r--r--source/components/tables/tbutils.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/source/components/tables/tbutils.c b/source/components/tables/tbutils.c
index 19daea867e35..910854997bb4 100644
--- a/source/components/tables/tbutils.c
+++ b/source/components/tables/tbutils.c
@@ -419,7 +419,7 @@ NextTable:
*
* PARAMETERS: Signature - Sig string to be validated
*
- * RETURN: TRUE if signature is correct length and has valid characters
+ * RETURN: TRUE if signature is has 4 valid ACPI characters
*
* DESCRIPTION: Validate an ACPI table signature.
*
@@ -432,13 +432,6 @@ AcpiIsValidSignature (
UINT32 i;
- /* Validate the signature length */
-
- if (strlen (Signature) != ACPI_NAME_SIZE)
- {
- return (FALSE);
- }
-
/* Validate each character in the signature */
for (i = 0; i < ACPI_NAME_SIZE; i++)