Driver Binding code and its private helpers for the virtio-net driver.\r
\r
Copyright (C) 2013, Red Hat, Inc.\r
- Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials are licensed and made available\r
under the terms and conditions of the BSD License which accompanies this\r
if (EFI_ERROR (Status)) {\r
goto YieldDevice;\r
}\r
- *MediaPresent = !!(LinkStatus & VIRTIO_NET_S_LINK_UP);\r
+ *MediaPresent = (BOOLEAN) ((LinkStatus & VIRTIO_NET_S_LINK_UP) != 0);\r
}\r
\r
YieldDevice:\r