[Ada] Remove redundant code related to instances with formal subprograms
authorPiotr Trojanek <trojanek@adacore.com>
Tue, 30 Nov 2021 17:17:39 +0000 (18:17 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 5 Jan 2022 11:32:35 +0000 (11:32 +0000)
commit8ec9fd41cfe7956b2c25d4539a9b5941a5d5f4cd
tree2286c96b8bb510396d535f371275f4392374af50
parenta714d2b000ad7798fd1f7b1f73c0295228ec58bd
[Ada] Remove redundant code related to instances with formal subprograms

gcc/ada/

* sem_ch12.adb (Instantiate_Formal_Subprogram): Remove redundant
call to Set_Defining_Unit_Name; a similar call is done few lines
below.
gcc/ada/sem_ch12.adb