diff options
Diffstat (limited to 'source/common/adfile.c')
| -rw-r--r-- | source/common/adfile.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source/common/adfile.c b/source/common/adfile.c index 5fff07d3a13c..ac96156db245 100644 --- a/source/common/adfile.c +++ b/source/common/adfile.c @@ -316,11 +316,6 @@ FlGenerateFilename ( */ NewFilename = UtStringCacheCalloc ((ACPI_SIZE) strlen (InputFilename) + strlen (Suffix) + 2); - if (!NewFilename) - { - return (NULL); - } - strcpy (NewFilename, InputFilename); /* Try to find the last dot in the filename */ @@ -364,11 +359,6 @@ FlStrdup ( NewString = UtStringCacheCalloc ((ACPI_SIZE) strlen (String) + 1); - if (!NewString) - { - return (NULL); - } - strcpy (NewString, String); return (NewString); } |
