audk/EmbeddedPkg
Laszlo Ersek f94345d9ea EmbeddedPkg/TimeBaseLib: remove the SEC_PER_MONTH, SEC_PER_YEAR macros
The SEC_PER_MONTH and SEC_PER_YEAR macros are wrong: they both evaluate to
0 (of type "int"). They are also unused (they could never be used for
division, for example); so remove them. The macros were originally
introduced in commit 0f4386e775 ("ArmPlatformPkg/PL031RealTimeClockLib:
Implement PL031 RTC drive", 2011-06-11).

Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Reported-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20200904154541.23340-1-lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
2020-09-08 10:30:28 +00:00
..
Application EmbeddedPkg: Unload image on EFI_SECURITY_VIOLATION 2019-09-25 10:03:57 +08:00
Drivers EmbeddedPkg/NonCoherentIoMmuDxe: Apply BSD-2-Clause-Patent 2020-08-06 20:20:40 +00:00
EmbeddedMonotonicCounter EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
GdbStub EmbeddedPkg: add missing EFIAPI calling convention specifiers 2019-10-09 09:40:09 +02:00
Include EmbeddedPkg/TimeBaseLib: remove the SEC_PER_MONTH, SEC_PER_YEAR macros 2020-09-08 10:30:28 +00:00
Library EmbeddedPkg: fix gcc build errors in AndroidBootImgLib 2020-07-23 12:05:44 +00:00
MetronomeDxe EmbeddedPkg: add missing EFIAPI calling convention specifiers 2019-10-09 09:40:09 +02:00
RealTimeClockRuntimeDxe EmbeddedPkg/RealTimeClockRuntimeDxe: Drop ASSERTs on function arguments 2020-03-26 18:39:01 +00:00
ResetRuntimeDxe EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
Scripts/LauterbachT32 EmbeddedPkg: convert Lauterbach README.txt to 7-bit safe Readme.md 2019-10-04 11:18:22 +01:00
SimpleTextInOutSerial EmbeddedPkg: Fix various typos 2019-07-04 12:21:04 +01:00
Universal/MmcDxe EmbeddedPkg: Fix build error for MmcDxe 2020-07-23 12:05:44 +00:00
EmbeddedPkg.dec EmbeddedPkg: remove ISP 1716 USB host controller driver 2020-05-05 15:37:20 +00:00
EmbeddedPkg.dsc EmbeddedPkg/EmbeddedPkg.dsc: remove some stale component references 2020-05-06 10:21:31 +00:00