]> git.proxmox.com Git - mirror_edk2.git/commit - PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c
PcAtChipsetPkg/Rtc: Don't unnecessarily create timezone variable.
authorRuiyu Ni <ruiyu.ni@intel.com>
Mon, 1 Feb 2016 02:32:44 +0000 (02:32 +0000)
committerniruiyu <niruiyu@Edk2>
Mon, 1 Feb 2016 02:32:44 +0000 (02:32 +0000)
commitbf46bd46188fd002b3bc7e15d8de50be23c1fd04
tree9cc07b76ee58f8fa838ddb0cb582b8236d2a16b9
parent39bbd1fbbf26851646d75a0a57883ab80da9a858
PcAtChipsetPkg/Rtc: Don't unnecessarily create timezone variable.

When SetTime() is called with EFI_UNSPECIFIED_TIMEZONE, the code
can optimally not create the private timezone variable because
absence of timezone variable indicates the timezone is unspecified.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19783 6f19259b-4bc3-4df7-8a09-765794883524
PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c