1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

remove identical expression

see issue #103
This commit is contained in:
Stefan Lankes 2018-09-15 16:45:20 +02:00 committed by GitHub
parent 9553b9a284
commit 564ccbfe8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -583,7 +583,7 @@ err_t mmnif_init(struct netif *netif)
}
LOG_INFO("mmnif_init() : size of mm_rx_buffer_t : %d\n", sizeof(mm_rx_buffer_t));
if (BUILTIN_EXPECT(!header_phy_start_address || !header_phy_start_address || !phy_isle_locks, 0))
if (BUILTIN_EXPECT(!header_phy_start_address || !phy_isle_locks, 0))
{
LOG_ERROR("mmnif init(): invalid heap or header address\n");
goto out;