summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/agesa/f15
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/amd/agesa/f15')
-rw-r--r--src/vendorcode/amd/agesa/f15/Proc/Mem/NB/C32/mnregc32.c2
-rw-r--r--src/vendorcode/amd/agesa/f15/Proc/Mem/NB/DA/mnregda.c2
-rw-r--r--src/vendorcode/amd/agesa/f15/Proc/Mem/NB/DR/mnregdr.c2
-rw-r--r--src/vendorcode/amd/agesa/f15/Proc/Mem/NB/HY/mnreghy.c2
-rw-r--r--src/vendorcode/amd/agesa/f15/Proc/Mem/NB/OR/mnregor.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/C32/mnregc32.c b/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/C32/mnregc32.c
index 90baa82c00..17c603ff52 100644
--- a/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/C32/mnregc32.c
+++ b/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/C32/mnregc32.c
@@ -173,7 +173,7 @@ MemNCmnGetSetFieldC32 (
UINT32 Mask;
Value = 0;
- if ((FieldName < BFEndOfList) && (FieldName >= 0)) {
+ if (FieldName < BFEndOfList) {
Address = NBPtr->NBRegTable[FieldName];
if (Address) {
Lowbit = TSEFO_END (Address);
diff --git a/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/DA/mnregda.c b/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/DA/mnregda.c
index ab7a51ad45..336fb35eb0 100644
--- a/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/DA/mnregda.c
+++ b/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/DA/mnregda.c
@@ -158,7 +158,7 @@ MemNCmnGetSetFieldDA (
UINT32 Mask;
Value = 0;
- if ((FieldName < BFEndOfList) && (FieldName >= 0)) {
+ if (FieldName < BFEndOfList) {
Address = NBPtr->NBRegTable[FieldName];
if (Address) {
Lowbit = TSEFO_END (Address);
diff --git a/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/DR/mnregdr.c b/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/DR/mnregdr.c
index 61bd44b8e8..5c6207d72d 100644
--- a/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/DR/mnregdr.c
+++ b/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/DR/mnregdr.c
@@ -159,7 +159,7 @@ MemNCmnGetSetFieldDr (
UINT32 Mask;
Value = 0;
- if ((FieldName < BFEndOfList) && (FieldName >= 0)) {
+ if (FieldName < BFEndOfList) {
Address = NBPtr->NBRegTable[FieldName];
if (Address) {
Lowbit = TSEFO_END (Address);
diff --git a/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/HY/mnreghy.c b/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/HY/mnreghy.c
index 3b8eda1654..90bb9e46f5 100644
--- a/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/HY/mnreghy.c
+++ b/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/HY/mnreghy.c
@@ -174,7 +174,7 @@ MemNCmnGetSetFieldHy (
UINT32 Mask;
Value = 0;
- if ((FieldName < BFEndOfList) && (FieldName >= 0)) {
+ if (FieldName < BFEndOfList) {
Address = NBPtr->NBRegTable[FieldName];
if (Address) {
Lowbit = TSEFO_END (Address);
diff --git a/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/OR/mnregor.c b/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/OR/mnregor.c
index 7ba37f6e26..512ef14475 100644
--- a/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/OR/mnregor.c
+++ b/src/vendorcode/amd/agesa/f15/Proc/Mem/NB/OR/mnregor.c
@@ -182,7 +182,7 @@ MemNCmnGetSetFieldOr (
UINT8 Instance;
Value = 0;
- if ((FieldName < BFEndOfList) && (FieldName >= 0)) {
+ if (FieldName < BFEndOfList) {
Address = NBPtr->NBRegTable[FieldName];
if (Address) {
Lowbit = TSEFO_END (Address);