]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/edac/amd64_edac.c
arm: imx6: defconfig: update tx6 defconfigs
[karo-tx-linux.git] / drivers / edac / amd64_edac.c
index 3c9e4e98c65111a069dcbcc5916cd2e061052938..bbd1913ce27c4cdcc2a11dcb9c8c811e7edf8f07 100644 (file)
@@ -1576,7 +1576,7 @@ static int f15_m30h_match_to_this_node(struct amd64_pvt *pvt, unsigned range,
                                             num_dcts_intlv, dct_sel);
 
        /* Verify we stay within the MAX number of channels allowed */
-       if (channel > 4 || channel < 0)
+       if (channel > 4)
                return -EINVAL;
 
        leg_mmio_hole = (u8) (dct_cont_base_reg >> 1 & BIT(0));