diff options
author | John Levon <john.levon@joyent.com> | 2019-08-22 14:13:57 +0000 |
---|---|---|
committer | John Levon <john.levon@joyent.com> | 2019-08-22 14:15:41 +0000 |
commit | 4ad9cc07d7a3af5dbe729bd2da31e2919a64a691 (patch) | |
tree | 24d511622fb7f703caf3d5f9e7b476b5b39daa1c /usr/src/uts/i86pc | |
parent | 2eeb06d4319586a0633839bcb1704f78fd2b1977 (diff) | |
download | illumos-joyent-4ad9cc07d7a3af5dbe729bd2da31e2919a64a691.tar.gz |
10703 smatch unreachable code checking needs reworking (fix Joyent code)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
Diffstat (limited to 'usr/src/uts/i86pc')
-rw-r--r-- | usr/src/uts/i86pc/os/cpr_impl.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/src/uts/i86pc/os/cpr_impl.c b/usr/src/uts/i86pc/os/cpr_impl.c index f173a1dc57..cdc1a53fb1 100644 --- a/usr/src/uts/i86pc/os/cpr_impl.c +++ b/usr/src/uts/i86pc/os/cpr_impl.c @@ -23,6 +23,10 @@ */ /* + * Copyright 2019 Joyent, Inc. + */ + +/* * Platform specific implementation code * Currently only suspend to RAM is supported (ACPI S3) */ @@ -765,7 +769,7 @@ i_cpr_is_supported(int sleeptype) */ #ifdef __GNUC__ return (0); -#endif +#else /* * The next statement tests if a specific platform has turned off @@ -781,6 +785,7 @@ i_cpr_is_supported(int sleeptype) return (1); return (pm_S3_enabled); +#endif } void |