I am a huge catch and release person but I have a few exceptions. I have no idea where in Cali the op is but in alot of the state(the southern part) all of the trout wil die off when it gets too hot anyways. I know its the summer now but they can hang in there for a while but they all die off eventually.
I also agree with gangster on one point. He isn't really saying that you shouldn't keep any fish, He is saying take what you can eat fresh and only that. People are naturally greedy and always seem to take more than what they need. It makes me cringe to see people take massive amounts of fish home day after day just because "they were biting good today". The OP didn't do anything unreasonable, those two fish are something that will be eaten and not be wasted. It is when people will keep 100 fish just because they can. Those are the fish that will go to waste. I'm aware that sometimes people have fish frys and other events but most of the time they just rot slowly in a freezer.
I also have to say that once a fish is taken from the wild it doesn't matter if it is put in a fish tank or a frying pan. Its all the same in the end.