]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/table_manager.c
Merge pull request #13113 from sri-mohan1/sri-mohan-ldp
[mirror_frr.git] / zebra / table_manager.c
index ffc7a48eb9b288a688ccee09c7c94dd2ddbc3c4a..77ec42e64bd6618d9483ae41b2b173a417f88693 100644 (file)
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* zebra table Manager for routing table identifier management
  * Copyright (C) 2018 6WIND
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; see the file COPYING; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #include "zebra.h"
@@ -119,8 +106,6 @@ struct table_manager_chunk *assign_table_chunk(uint8_t proto, uint16_t instance,
        }
        /* otherwise create a new one */
        tmc = XCALLOC(MTYPE_TM_CHUNK, sizeof(struct table_manager_chunk));
-       if (!tmc)
-               return NULL;
 
        if (zvrf->tbl_mgr->start || zvrf->tbl_mgr->end)
                manual_conf = true;